package com.lyrpx.pojo;

import java.util.List;

public class OrdersItem {
    private int id;
    private int orders_id;
    private List<Product> productList; //一个orders_id包含多种商品

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrders_id() {
        return orders_id;
    }

    public void setOrders_id(int orders_id) {
        this.orders_id = orders_id;
    }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }

    @Override
    public String toString() {
        return "OrdersItem{" +
                "id=" + id +
                ", orders_id=" + orders_id +
                ", productList=" + productList +
                '}';
    }
}
